package com.adun.springsecuritydemo.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;
import java.awt.image.ImageConsumer;

/**
 * @author zhudunfeng
 * @date 2021/6/29
 */
public interface MyService {

    boolean hasPermission(HttpServletRequest request, Authentication authentication);

}
